ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX.Direct3D11 Namespace / Device Class / OpenSharedResource Method / OpenSharedResource<T>(IntPtr) Method
The type of the resource we are gaining access to.
A resource handle. See remarks.

In This Topic
    OpenSharedResource<T>(IntPtr) Method
    In This Topic
    Give a device access to a shared resource created on a different Direct3d device.
    Syntax
    'Declaration
     
    Public Overloads Function OpenSharedResource(Of T As ComObject)( _
       ByVal resourceHandle As IntPtr _
    ) As T
    public T OpenSharedResource<T>( 
       IntPtr resourceHandle
    )
    where T: ComObject

    Parameters

    resourceHandle
    A resource handle. See remarks.

    Type Parameters

    T
    The type of the resource we are gaining access to.

    Return Value

    This method returns a reference to the resource we are gaining access to.
    See Also